<?php
/**
 * @version SVN: $Id: stuffer_update.php 1209 2010-05-18 16:31:48Z elkuku $
 * @package    EasyCreator
 * @subpackage Views
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     Nikolai Plath (elkuku) {@link http://www.nik-it.de NiK-IT.de}
 * @author     Created on 29-Dec-2009
 * @license    GNU/GPL, see JROOT/LICENSE.php
 */

//-- No direct access
defined('_JEXEC') or die('=;)');

$upgradeChecked =($this->project->method == 'upgrade') ? ' checked="checked"' : '';
?>

<?php echo ecrHTML::floatBoxStart(); ?>
<div class="infoHeader imgbarleft icon-24-update"><?php echo JText::_('Update') ?></div>
<strong><?php echo JText::_('Method'); ?></strong>
<input type="checkbox" <?php echo $upgradeChecked; ?> name="buildvars[method]" id="buildvars_method" value="upgrade" />
<label for="buildvars_method" class="hasEasyTip" title="method=upgrade::<?php echo JText::_('This will perform an upgrade on installing your extension'); ?>">
    <?php echo JText::_('Upgrade'); ?>
</label>
<?php echo ecrHTML::floatBoxEnd(); ?>
